home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / ARCHIVE / MAD.ZIP / README.MAD < prev   
Encoding:
Text File  |  1989-07-28  |  10.4 KB  |  239 lines

  1. Mike's Achive Directory 2.0  -  README.MAD  -  Copyright (c) 1989 by Mike Sax
  2.  
  3.  
  4. Introduction
  5.  
  6.  
  7.      Mike's Archive Directory can  list the directory  of all popular archive
  8.      types  available  and their  self  extracting .COM  and .EXE files.  MAD
  9.      currently supports ARC, PAK, ZIP, ZOO, LZS, DWC and LZH archives and all
  10.      self-extracting .COM and .EXE files created by SEA ARC, PK-ARC, PAK, PK-
  11.      ZIP, SEZ (zoo), LARC (lzs), DWC and LHARC (lzh).
  12.  
  13.      I've made the MAD command set as compatible as possible with the DOS DIR
  14.      command.  So you can use the /P switch to let the program pause when the
  15.      screen is  full or  the /W  switch to  show the  archive members in wide
  16.      format. (other switches: see below).
  17.  
  18.      Please send your complaints, comments, gifts and suggestions to :
  19.  
  20.      Mike Sax                                 e-mail:  Compuserve: 75470,1403
  21.      Callaertstraat 23                                 FIDO Netmail: 2:513/14
  22.      B-2700 Sint-Niklaas                               FunBoard: +32-33223057
  23.      Belgium                                            `-->(1200/2400 N,8,1)
  24.  
  25.      MAD  is a free  program.  You don't have  to pay me anything to  use it.
  26.      There's no obligation whatsoever.  I just think you would be one hell of
  27.      a nice guy (or girl) if you would send me five bucks, anyway! An airmail
  28.      letter from the USA to Belgium requires 45 cents in stamps.
  29.  
  30.  
  31. Command-line interface
  32.  
  33.  
  34.      MAD basically works like the DOS DIR command. The commandline format is:
  35.      
  36. |    MAD <archive name>  [<archive members>]  [/W][/P][/B][/T][/R] [>outfile]
  37.  
  38.      With <archive name> the name of the archive you want to view.  This name
  39.      can contain wildcards (eg: *.EXE) and doesn't require a file extension.
  40.  
  41. |    If you want to view only certain members of the archive you can type the
  42. |    member filenames after the archive name.   That's what <archive members>
  43. |    means. (see also examples below).
  44.  
  45.      /P switch: When the screen is full, "- more -" will be displayed and you
  46.                have to press a key to continue.
  47.      /W switch: All files are displayed in wide format.
  48.      /T switch: Displays the information in technical format.  This parameter
  49.                 shows the CRC and displays the Method  field in a technically    
  50.                 more descriptive way.  This switch  can be  useful if you are
  51.                 interested in  data-compression  but you don't want to keep a 
  52.                 list of what Reduced, Packed, etc... means.
  53. |    /R switch: Relax checking.   This is useful when trying  to list damaged
  54. |               or irregular archives.
  55.      /B switch: Display the archive name without the directory path.
  56.  
  57.  
  58.      Examples:
  59.  
  60.      * To display the directory of the DEMO.ZIP archive:
  61.  
  62.                   MAD DEMO
  63.  
  64.      * To  show the  directory of all archives that  start with "SRC" in wide
  65.        format:
  66.  
  67.                   MAD SRC* /W
  68.  
  69.      * To  show the  directory of all archives  in the D:\TEST directory, but
  70.        pause when the screen is full:
  71.  
  72.                   MAD D:\TEST\*.* /P
  73.  
  74.      * To redirect technical information about the PK361.EXE  self-extracting
  75.        archive to the PK.INF file:
  76.  
  77.                   MAD PK361.EXE /T >PK.INF
  78.  
  79. |    * To display the dir of BAD.LZH, an archive that MAD couldn't  recognize
  80. |      when using "MAD BAD.LZH" :
  81. |   
  82. |                 MAD BAD.LZH /R
  83.  
  84.     * To print a the dir of TEST.LZH:
  85.  
  86.                  MAD TEST >prn
  87.  
  88. |    * To display the  (partial) directory of all archives that contain files
  89. |      like README.* or READ.ME or *.DOC:
  90. |  
  91. |               MAD *.* README.* READ.ME *.DOC
  92.  
  93.  
  94. Notes...
  95.  
  96.  
  97.      MAD looks at ANY file specified regardless of extension.  So if you have
  98.      a ZIP  file that  has extension  .LZH or .DTA, no problem, MAD will tell
  99.      you it's a ZIP file and give you a directory of it.
  100.  
  101. |    To avoid showing  directories of files that aren't  really archives, MAD
  102. |    ignores files that contain 'unrealistic' values. (Eg: ratio > 100%, year
  103. |    > 95, day > 31, month > 12, size > 200 Mb, ...).  Some archives however,
  104. |    contain some of those unrealistic values and will be ignored by MAD.  If
  105. |    you want to show them anyway,  you can use the /R(elax checking) switch.
  106. |    Please note that, when using this switch  with wild cards, you might get
  107. |    the 'directory' of non-archives and get some garbage on your screen.
  108.  
  109. |    MAD tells you  how much space you need on  your hard disk to extract the
  110. |    selected files.  This is NOT equal to the total original file size!  Why
  111. |    not ?  A DOS disk is divided in 'clusters'. On a normal hard disk, these
  112. |    are 4096 bytes in size.  Every DOS file is stored on these clusters, and
  113. |    occupies a multiple of 4096 bytes on your hard disk.    So a 1-byte file
  114. |    will occupy 4096 bytes and a 23012 byte file  will occupy 24576 bytes on
  115. |    the disk. If you have an archive of 100 1-byte files, the total original
  116. |    file size will be 100 bytes, but when extracted all these files will oc-
  117. |    cupy 400K on your hard disk!
  118.  
  119.      MAD calculates the compression ratio, the same way LHARC does: 
  120.                     100 * (compressed file size / orignal file size)
  121.      ARC and PAK, on the other hand, calculate the ratio differently:
  122.                  100 - (100 * (compressed file size / orignal file size))
  123.  
  124.  
  125.      Special thanks to Phil Katz and Steve Burg from PK-Ware for their infor-
  126.      mation of PK-ZIP 1.0, and to Gus Smedstad from NoGate Consulting for his
  127.      information on PAK 2.0.    Also to Johan Zwiekhorst for beta-testing and 
  128.      useful tips.
  129.  
  130.  
  131. What's new ?
  132.  
  133.  
  134. |    The new version 2.0 of MAD contains a few enhancments:
  135. |
  136. |    - The user can display only certain members of an archive.
  137. |    - Archives that contain filenames with a full pathname  (LHARC or PK-ZIP
  138. |      archives compiled with -p or -r switch) are fully supported.
  139. |    - /R(elax checking) switch added for 'troublesome' archives.
  140. |    - The name and version of the program that created the archivemember are
  141. |      shown in the the last column of the directory listing.
  142. |    - The minimum  version of  the program as well as the minimum  free disk
  143. |      required to extract the archive are shown at the bottom of the listing
  144.  
  145.  
  146. Compression methods:  Technical description
  147.  
  148.  
  149.      In the tables below, I try to explain the technical abbreviations I have
  150.      used with the /T switch.  This  information is only  useful  when you're
  151.      interested in the technical aspects of data-compression. 
  152.  
  153.      ARC and PAK:
  154.  
  155.      Name        Technical    Description
  156.      ----------- ------------ -----------------------------------------------
  157.      Stored      -            No compression used
  158.      Packed      Rep.Pack.    Repeated running length encoding
  159.      Squeezed    Huffman      Huffman encoding
  160.      Crunched    LZW:12       Lempel-Ziv-Welch with 4K buffer, 12 bits codes
  161.      Crunched    P/LZW:12     First packing, then LZW 4K buffer with 12 bits
  162.      Crunched    P/LZW9-12    Packing,LZW, 4K buffer, var. length (9-12 bits)
  163.      Squashed    LZW9-13      LZW, 8K buffer, variable length (9-13 bits)
  164.      Crushed     P/LZW2-13    Packing, then LZW 8K buffer, 2-13 bits(PAK 1.0)
  165.      Distill     LZHuff/8K    Dynamic Huffman with 8K buffer. (PAK 2.0)
  166.  
  167.  
  168.      ZOO and DWC:
  169.  
  170.      Name        Technical    Description
  171.      ----------- ------------ -----------------------------------------------
  172.      Stored      -            No compression used
  173.      Crunched    P/LZW9-12    Packing,LZW, 4K buffer, var. length (9-12 bits)
  174.  
  175.  
  176.      LHARC and LARC:
  177.  
  178.      Name        Technical    Description
  179.      ----------- ------------ -----------------------------------------------
  180.      -lh0-       -            No compression used
  181.      -lh1-       LZHuff/4K    LZW, 4K buffer, Huffman for upper 6 bits of pos
  182.      -lz4-       LZA-4        LZW, Arithmetic Encoding
  183.      -lz5-       LZA-5        LZW, Arithmetic Encoding
  184.  
  185.  
  186.      ZIP:
  187.  
  188.      Name        Technical    Description
  189.      ----------- ------------ -----------------------------------------------
  190.      Stored      -            No compression used
  191.      Shrunk      LZW9-13/c    LZW, 8K buffer, 9-13 bits with partial clearing
  192.      Reduced-1   P/Prob<7     Probalistic compression, L(X) = lower 7 bits
  193.      Reduced-2   P/Prob<6     Probalistic compression, L(X) = lower 6 bits
  194.      Reduced-3   P/Prob<5     Probalistic compression, L(X) = lower 5 bits
  195.      Reduced-4   P/Prob<4     Probalistic compression, L(X) = lower 4 bits
  196.      Imploded    ShaFa2/4K    2 Shanno-Fano trees, 4K sliding dictionary
  197.      Imploded    ShaFa3/4K    3 Shanno-Fano trees, 4K sliding dictionary
  198.      Imploded    ShaFa2/8K    2 Shanno-Fano trees, 8K sliding dictionary
  199.      Imploded    ShaFa3/8K    3 Shanno-Fano trees, 8K sliding dictionary
  200.  
  201.  
  202.  
  203. The End
  204.  
  205.          ----------------end-of-author's-documentation---------------
  206.  
  207.                         Software Library Information:
  208.  
  209.                    This disk copy provided as a service of
  210.  
  211.                         The Public (Software) Library
  212.  
  213.          We are not the authors of this program, nor are we associated
  214.          with the author in any way other than as a distributor of the
  215.          program in accordance with the author's terms of distribution.
  216.  
  217.          Please direct shareware payments and specific questions about
  218.          this program to the author of the program, whose name appears
  219.          elsewhere in  this documentation. If you have trouble getting
  220.          in touch with the author,  we will do whatever we can to help
  221.          you with your questions. All programs have been tested and do
  222.          run.  To report problems,  please use the form that is in the
  223.          file PROBLEM.DOC on many of our disks or in other written for-
  224.          mat with screen printouts, if possible.  The P(s)L cannot de-
  225.          bug programs over the telephone.
  226.  
  227.          Disks in the P(s)L are updated monthly, so if you did not get
  228.          this disk  directly from the P(s)L,  you should be aware that
  229.          the files in this set may no  longer be the current versions.
  230.  
  231.          For a copy of the latest monthly software library newsletter
  232.          and a list of the 1,800+ disks in the library, call or write
  233.  
  234.                         The Public (Software) Library
  235.                               P.O.Box 35705 - F
  236.                            Houston, TX 77235-5705
  237.                                (713) 665-7017
  238.  
  239.